package com.xiezc.dao;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.xiezc.entity.FileInfo;

/**
 * Created by Administrator on 2017/5/31.
 */
public interface FileInfoRepository  extends CrudRepository<FileInfo,Integer> {

    List<FileInfo> findByUserId(int userId);


    List<FileInfo>  findByFileMd5(String fileMd5);
    
}
